//***********************************************************************
//  PP2_7.java         Author:Tang caiming
//
//  Prompts and reads the integer value of speed and travel distance,
//  and then displays the time required for the trip by floating-point
//  Numbers.
//***********************************************************************

import java.util.Scanner;

public class PP2_7
{
   public static void main(String[] args)
   {
      int velocity,journey;
      double time;

      Scanner scan = new Scanner(System.in);

      System.out.print("Enter the number of velocity:");
      velocity = scan.nextInt();

      System.out.print("Enter the number of journey:");
      journey = scan.nextInt();

      time = journey / velocity;

      System.out.println("time: " + time);
   }
}

